<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        p
        {
            color: blue;
            font-size: 30px;
        }
        h1
        {
            color: red;
            font-size: 20px;
        }

        .d3
        {
            width: 200px;
            height: 200px;
            background-color: pink;
            transform: rotateX(40deg);
        }
    </style>

     <style>
        p
        {
            color: blue;
            font-size: 30px;
        }
        h1
        {
            color: red;
            font-size: 20px;
        }

        .d3
        {
            width: 200px;
            height: 200px;
            background-color: pink;
            transform: rotateX(40deg);
        }

        h2{
            width: 10px;
        }
    </style>

    <link rel="stylesheet" href="demo2.css">

</head>
<body>
    <p>xxx</p>
    <h1>sawfwa</h1>
    <p>xxwqrqwx</p>

    <div class="d3">
        xxx
    </div>
</body>
</html>